package com.schooldate.model.service;

import com.schooldate.base.BaseSupport;
import com.schooldate.model.entity.Department;
import com.schooldate.model.entity.School;

import java.util.List;

/**
 * Created by etund on 2015/3/16 0016.
 */
public interface DepartmentService extends BaseSupport<Department> {

    /**
     * 根据学校ID返回该学校的全部学院
     * @param schoolId
     * @return
     */
    List<Department> getBySchoolId(String schoolId);

    List<Department> getBydepartmentNames(String[] names,String schoolId);

    Department getBySchoolIdAndName(String sid, String departmentId);

    Department getByName(String departmentId);
}
